<template>
  <div class="title">
    <van-cell title="历史搜索">
      <!-- 使用 right-icon 插槽来自定义右侧图标 -->
      <template #right-icon>
        <van-icon name="delete-o" class="search-icon" size="20px" />
      </template>
    </van-cell>
  </div>
</template>

<script>
export default {};
</script>

<style lang="less" scoped>
.title {
  width: 100%;
  height: 30px;
  background-color: #f00;
}
</style>